<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style type="text/css">
    * {
        margin: 0;
        padding: 0;
    }
</style>

<body>
    <p style="width:200px;height:300px;background:#F00;float:left;">111</p>
    <p style="width:300px;height:300px;background:#00F;">222</p>
</body>

</html>